package Arrayex1;

public class Models {
	public double[] CheckElement(double[] StudentM ){
		double Temp[] = new double [StudentM.length];
		int iCount =0;
		  for ( int i = 0 ; i < StudentM.length; i++){
		if (StudentM[i]>=0 && StudentM[i]<5) {
			Temp[iCount] = StudentM[i];
			iCount ++;
		}	
}
		return Temp;
}
}